package com.iflytek.bean;

import lombok.Data;

import java.sql.Date;


 // 员工实体类

@Data
public class Emp {

    private int empno;
    private String ename;
    private String job;
    private double sal;
    private Date hiredate;//入职日期
    private double comm;//奖金
    private int deptno;//部门编号

    public int getEmpno(){
        return empno;
    }

    public void setEmpno(int empno){
        this.empno = empno;
    }

    public String getEname(){
        return ename;
    }

    public void setEname(String ename){
        this.ename = ename;
    }

    public String getJob(){
        return job;
    }

    public void setJob(String job){
        this.job = job;
    }

    public double getSal(){
        return sal;
    }

    public void setSal(double sal){
        this.sal = sal;
    }

    public Date getHiredate(){
        return hiredate;
    }

    public void setHiredate(Date hiredate){
        this.hiredate = hiredate;
    }

    public double getComm(){
        return comm;
    }

    public void setComm(double comm){
        this.comm = comm;
    }

    public int getDeptno(){
        return deptno;
    }

    public void setDeptno(int deptno){
        this.deptno = deptno;
    }

}
